

#ifndef __TASK_SEND_COMMAND_H__
#define __TASK_SEND_COMMAND_H__ 

#include "task_comm.h"
#include <QByteArray>

class SendCommandTask : public TaskCommBase
{
    Q_OBJECT

public:
    SendCommandTask(EvSerial *m_serial, int cmd_id, const QByteArray &send_data);
    void run() override;

private:
    QByteArray send_data_;
    int cmd_id_;
};

#endif /* __TASK_SEND_COMMAND_H__ */
